package com.rzico.sbl.model

import android.os.Parcelable
import com.xinnuo.common_ui.base.BaseBean
import kotlinx.parcelize.Parcelize

/**
 * 描 述：
 * 作 者：小卷毛  2021-05-08 08:45
 * 修改描述：
 * 修 改 人：
 * 修改版本：
 */
@Parcelize
data class CommonModel(
    var page: Int = 0,
    var data: ArrayList<CommonData> = ArrayList()
) : Parcelable

@Parcelize
data class CommonData(
    var paymentPluginId: String = "",
    var name: String? = "",

    var id: String = "",
    var xmid: String = "",
    var enterpriseId: String = "",
    var address: String? = "",
    var distance: String? = "",
    var linkman: String? = "",
    var telephone: String? = "",
    var lat: String? = "",
    var lng: String? = "",

    var logo: String? = "",
    var photo: String? = "",

    // 商品回桶
    var show: Boolean = false,
    var quantity: String? = "0",
    var returnQuantity: String = "0",
    var pledgeQuantity: String = "0",
    var refundsQuantity: String = "0",
    var hangQuantity: String = "0",
    var pledge: String? = "0",
    var mortgage: String = "0",
    var borrow: String = "0",
    var stock: String = "0",
    var hangTotal: String = "0",

    // 水票
    var couponId: String = "",
    var couponName: String = "",
    var amount: String? = "",

    // 水票记录
    var memo: String? = "",
    var balance: String? = "",
    var createDate: String? = "",
    var letter: Int = 0,

    // 水票品牌
    var productId: String = "",

    // 商品分类
    var thumbnail: String? = "",

    // 报货活动区
    var introduction: String? = ""
) : Parcelable

data class RegionBean(
    val code: String = "",
    val name: String = "",
    val pid: String = "",
    val children: List<RegionBean> = ArrayList(),
) : BaseBean()